<?php get_header(); ?>
	<?php if ( have_posts() ) : ?>
		<div class="breadcrumb_box clearfix">			
			<div class="content-title">
				Search Result for <?php the_search_query(); ?>  
                
                <a href="javascript: void(0);" id="mode"<?php if ($_COOKIE['mode'] == 'grid') echo ' class="flip"'; ?>></a>      
			</div>
			<?php templ_set_breadcrumbs_navigation();?>
		</div>    
       	<div class="shadowbox"></div>		
		<div class="content right">   		
			<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Page Content Above')){?><?php } else {?>  <?php }?>
			
			<?php get_template_part('loop'); ?>
			<?php get_template_part('pagination'); ?>
			<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Page Content Below')){?> <?php } else {?>  <?php }?>
		</div> <!-- full page #end -->
		<?php else : ?>
		<div class="breadcrumb_box clearfix">			
			<div class="content-title">
				Your search <strong><?php the_search_query(); ?></strong> did not match any documents
			</div>	
			<?php templ_set_breadcrumbs_navigation();?>
		</div>    
       	<div class="shadowbox"></div> 		
		<div class="content right">  		
			<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Page Content Above')){?><?php } else {?>  <?php }?>
			<div class="single clear">
				<div class="post-content">
					<div class="search">
                        <form method="get" id="searchform" action="<?php bloginfo('url'); ?>">
                            <fieldset>
                    
                                <input name="s" type="text" onfocus="if(this.value=='Search') this.value='';" onblur="if(this.value=='') this.value='Search';" value="Search" />
                                <button type="submit"></button>
                            </fieldset>
                        </form>
                    </div>
				</div>
			</div>
			<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Page Content Below')){?> <?php } else {?>  <?php }?>
		</div> <!-- full page #end -->			
		<?php endif; ?>		
	<div class="sidebar left" >
		<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Left')){?> <?php } else {?>  <?php }?>
	</div>  <!-- sidebar #end -->
<?php get_footer(); ?>